home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
pascal
/
tegl6b.zip
/
INTROPAK.EXE
/
lha
/
ANIMTST3.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-04-06
|
2KB
|
67 lines
{*********************************************************}
{ TEGL Windows ToolKit II }
{ Copyright (C) 1990, TEGL Systems Corporation }
{ All Rights Reserved. }
{*********************************************************}
Uses
videochk,
tgraph,
teglintr,
animunit,
TEGLmain,
TEGLUnit,
fastgrph;
const
{$I animtst1.inc}
var Oriental : animateobject;
OrientalFS : imagestkptr;
{$F+}
function OrientalBow(Frame:imagestkptr; MouseClickPos: msclickptr) : word;
{$F-}
begin
hideimage(Frame);
hidemouse;
ResetFrame(Oriental,1);
Animateinit;
origin(Oriental,frame^.x,frame^.y);
animate(Oriental,8);
showmouse;
showimage(Frame,frame^.x,frame^.y);
OrientalBow := 1;
end;
begin
SetVideoChoices(TG_VGA,false);
EasyTEGL;
init(Oriental);
addframe(Oriental,@imageChina,0,0,55,37,350,1200,55,black);
addframe(Oriental,@imageChina,0,0,55,37,150,1200,56,black);
addframe(Oriental,@imageChina2,0,0,55,37,75,1100,55,black);
addframe(Oriental,@imageChina2,0,0,55,37,75,1100,56,black);
addframe(Oriental,@imageChina3,0,0,55,37,150,900,55,black);
addframe(Oriental,@imageChina3,0,0,55,37,150,900,56,black);
addframe(Oriental,@imageChina3,0,0,55,37,600,1100,56,black);
addframe(Oriental,@imageChina2,0,0,55,37,150,1100,0,black);
addframe(Oriental,@imageChina,0,0,55,37,500,1100,55,black);
pushimage(15,getmaxy-65,15+37,getmaxy-65+55);
putpict(15,getmaxy-65,@imageChina,black);
DefineMouseClickArea(stackptr,0,0,37,55,true,Orientalbow,MSClick);
OrientalFS := stackptr;
setframemobility(stackptr,false);
TEGLSupervisor;
end.